/*
 Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
 SPDX-License-Identifier: Apache-2.0
*/

@use '../../styles' as styles;
@use '../../styles/tokens' as awsui;

.options-list {
  padding-block: 0;
  padding-inline: 0;
  margin-block: 0;
  margin-inline: 0;
  outline: none;
  border-block: none;
  border-inline: none;
  @include styles.styles-reset;
  white-space: inherit;
  overflow-y: auto;
  flex: 1 1 auto;
  min-block-size: 0;
  border-start-start-radius: awsui.$border-radius-dropdown;
  border-start-end-radius: awsui.$border-radius-dropdown;
  border-end-start-radius: awsui.$border-radius-dropdown;
  border-end-end-radius: awsui.$border-radius-dropdown;
  user-select: none;

  &-embedded {
    border-start-start-radius: 0px;
    border-start-end-radius: 0px;
    border-end-start-radius: 0px;
    border-end-end-radius: 0px;
  }
}

.decrease-block-margin {
  margin-block: -1px;
}
